package com.yms.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yms.pojo.Host;
import com.yms.pojo.HostCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-03-20
 */
public interface HostMapper extends BaseMapper<Host> {
    //分页加载主持人信息
    IPage<Host> selHostInfoMapper(IPage<Host> p, @Param("hostCondition") HostCondition hostCondition);

    List<Host> selectMore(@Param("hostCondition") HostCondition hostCondition);
}
